<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">




<title>接口 - Autumoon - 博客园</title>
<meta name="keywords" content="白话C#系列,接口">
<meta name="description" content="接口是体现面向对象编程思想优越性的一件利器，为什么这么说呢？首先我们来看，接口是为继承而存在的，如果没有继承，那就自然不需要接口了，既然有继承，那就需要把可能被多个类所继承的一些公共部分抽象出来，接口封装的就是这些公共的行为规范（方法定义），类可以通过继承多个接口来丰富自己的行为机制，但是在C#中，类是不可以继承多个类的。">



<link title="RSS" type="application/rss+xml" rel="alternate" href="http://www.cnblogs.com/Autumoon/rss">
<link title="RSD" type="application/rsd+xml" rel="EditURI" href="http://www.cnblogs.com/Autumoon/rsd.xml"> 
  



<link rel="stylesheet" type="text/css" href="index.css" media="all">
</head>
<body>
    <form name="Form1" method="post" action="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html" id="Form1">
<div>
<input name="__VIEWSTATE" id="__VIEWSTATE" value="" type="hidden">
</div>

        
<!--done-->
<div id="home">
<div id="header">
	<div id="blogTitle">
		
<!--done-->
<h1><a id="Header1_HeaderTitle" class="headermaintitle" href="http://www.cnblogs.com/Autumoon/">Autumoon</a></h1>
<h2><a href="http://www.autumoon.com/" target="_top" title="欢迎访问Autumoon Lab！">www.Autumoon.com</a></h2>



		
	</div><!--end: blogTitle 博客的标题和副标题 -->
	<div id="navigator">
		
<!--done-->
			<ul id="navList">
				<li></li>
				<li></li>
				<li><a href="http://home.cnblogs.com/">主页</a></li>
				<li><a href="http://home.cnblogs.com/ing/">闪存</a></li>				
				<li></li>
				<li><a id="MyLinks1_ContactLink" accesskey="9" class="menu" href="http://space.cnblogs.com/msg/send/Autumoon">联系</a></li>
				<li><a id="MyLinks1_Admin" class="menu" href="http://www.cnblogs.com/Autumoon/admin/EditPosts.aspx">管理</a></li>
				<li><a id="MyLinks1_Syndication" class="menu" href="http://www.cnblogs.com/Autumoon/rss">订阅</a>
				<a id="MyLinks1_XMLLink" class="aHeaderXML" href="http://www.cnblogs.com/Autumoon/rss"><img src="rss.gif" alt="订阅" style="border-width: 0px;"></a></li>
			</ul>


		<div class="blogStats">
			
			
<!--done-->
随笔-71&nbsp;
文章-0&nbsp;
评论-326&nbsp;

			
		</div><!--end: blogStats -->
	</div><!--end: navigator 博客导航栏 -->
</div><!--end: header 头部 -->
<div id="main">
	<div id="mainContent">
	<div class="forFlow">
		
					
<!--done-->
<div id="topics">
	<div class="post">
		<h1 class="postTitle">
			<a id="ctl04_TitleUrl" class="postTitle2" href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html">接口</a>
		</h1>
		<div class="clear"></div>
		<div class="postBody">
			<p><font size="2"><a href="http://www.cnblogs.com/Autumoon/archive/2008/04/16/1156864.html">【回目录】</a></font></p>  <p><font size="2">接口是体现面向对象编程思想优越性的一件利器，为什么这么说呢？首先我们来看，接口是为继承而存在的，如果没有继承，那就自然不需要接口了，既然有继承，那就需要把可能被多个类所继承的一些公共部分抽象出来，接口封装的就是这些公共的行为规范（方法定义），类可以通过继承多个接口来丰富自己的行为机制，但是在C#中，类是不可以继承多个类的。C#最显著的特点就是极大地提高了程序的开发效率和维护效率，所以对于继承多个类这种容易引起二义性的机制是深恶痛绝的。</font></p>  <p><font size="2">我们都是由学生时代一路走过来的，所以我想借用学生时代的那些行为规范来作为现实生活中的接口的例子。</font></p>  <p><font size="2">读小学的时候，我们至少会有两套行为规范：小学生行为规范和少先队员行为规范。首先我们都得遵守小学生行为规范，其次如果是少先队员，就还得遵守少先队员行为规范。我们对于这两套行为规范不列举太多细节规则，每套一条就够了，首先，作为少先队员，过马路时要先看红绿灯：</font></p>  <div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">   <div style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">     <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   1:</span> <span style="color: rgb(0, 0, 255);">interface</span> IPupilRule</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   2:</span> {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   3:</span>     <span style="color: rgb(0, 0, 255);">void</span> CrossTheRoad(<span style="color: rgb(0, 0, 255);">int</span> trafficLightIndex);</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   4:</span> }</pre>
  </div>
</div>

<p><font size="2">在IPupileRule中，我们定义了“过马路看红绿灯”这样的行为规范，它其实就是一个函数声明，定义了函数名、返回值类型以及参数类型等信息，但是并没有函数体。对，接口中只能有函数定义这样的指导性原则，不允许存在函数体，至于具体的实现细节，那就“具体问题具体分析”吧。接下来我们再来定义少先队员行为规范，也不列举太多细则，一条足矣，少先队员不能抽烟：</font></p>

<div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">
  <div style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">
    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   1:</span> <span style="color: rgb(0, 0, 255);">interface</span> IYoungPioneerRule</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   2:</span> {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   3:</span>     <span style="color: rgb(0, 0, 255);">void</span> NoSmoke();</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   4:</span> }</pre>
  </div>
</div>

<p><font size="2">同样的，只有函数声明没有实现细节，因为行为守则这样的东西只能告诉你作为一名光荣的少先队员是绝对不能抽烟的，它不会也不能面面俱到地告诉你假如你叔叔阿姨给你递烟应该如何谢绝，假如你爸爸教你抽烟应该如何拒绝，另外假如那些辍学的坏孩子强迫你抽烟又该如何反抗等等。废话不多说，否则真成了“提供函数体的接口”了。</font></p>

<p><font size="2">既然接口是不提供函数实现细节的，那么当一个小学生需要横过马路的时候，就只能靠他自己来完成具体的逻辑实现了：</font></p>

<div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">
  <div style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">
    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   1:</span> <span style="color: rgb(0, 0, 255);">public</span> <span style="color: rgb(0, 0, 255);">class</span> Pupil : IPupilRule</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   2:</span> {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   3:</span>     <span style="color: rgb(0, 128, 0);">/// &lt;summary&gt;</span></pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   4:</span>     <span style="color: rgb(0, 128, 0);">/// Cross the road and notice the traffic light.</span></pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   5:</span>     <span style="color: rgb(0, 128, 0);">/// &lt;/summary&gt;</span></pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   6:</span>     <span style="color: rgb(0, 128, 0);">/// &lt;param name="trafficLightIndex"&gt;The index of traffic light.&lt;/param&gt;</span></pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   7:</span>     <span style="color: rgb(0, 0, 255);">public</span> <span style="color: rgb(0, 0, 255);">void</span> CrossTheRoad(<span style="color: rgb(0, 0, 255);">int</span> trafficLightIndex)</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   8:</span>     {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   9:</span>         <span style="color: rgb(0, 0, 255);">switch</span> (trafficLightIndex)</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  10:</span>         {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  11:</span>             <span style="color: rgb(0, 0, 255);">case</span> 0:     <span style="color: rgb(0, 128, 0);">// Red, stop.</span></pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  12:</span>                 <span style="color: rgb(0, 0, 255);">break</span>;</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  13:</span>             <span style="color: rgb(0, 0, 255);">case</span> 1:     <span style="color: rgb(0, 128, 0);">// Yellow, stop.</span></pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  14:</span>                 <span style="color: rgb(0, 0, 255);">break</span>;</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  15:</span>             <span style="color: rgb(0, 0, 255);">case</span> 2:     <span style="color: rgb(0, 128, 0);">// Green, go.</span></pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  16:</span>                 <span style="color: rgb(0, 0, 255);">break</span>;</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  17:</span>             <span style="color: rgb(0, 0, 255);">default</span>:    <span style="color: rgb(0, 128, 0);">// Unknown situation, thinking.</span></pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  18:</span>                 <span style="color: rgb(0, 0, 255);">break</span>;</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  19:</span>         }</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  20:</span>     }</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  21:</span> }</pre>
  </div>
</div>

<p><font size="2">接下来，少先队员出场了。首先我们来分析一下这个场景，少先队员是需要遵守少先队员行为规范的小学生。由此可见，少先队员需要实现前面提到的两种行为规范中的所有规定，这也就体现了接口的好处，可以实现多重继承。当然，在本文所用的例子当中，少先队员大可不必重新继承并实现IPupilRule接口了，他既然是一名小学生，那就可以继承Pupil这个类，而且他并不需要改变Pupil中对小学生行为规范的具体实现细节，他只需要自己实现少先队员行为规范中的规定就行了。</font></p>

<div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">
  <div style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">
    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   1:</span> <span style="color: rgb(0, 0, 255);">public</span> <span style="color: rgb(0, 0, 255);">class</span> YoungPioneer : Pupil, IYoungPioneerRule</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   2:</span> {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   3:</span>     <span style="color: rgb(0, 128, 0);">/// &lt;summary&gt;</span></pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   4:</span>     <span style="color: rgb(0, 128, 0);">/// Young pioneer should help other people.</span></pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   5:</span>     <span style="color: rgb(0, 128, 0);">/// &lt;/summary&gt;</span></pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   6:</span>     <span style="color: rgb(0, 0, 255);">public</span> <span style="color: rgb(0, 0, 255);">void</span> NoSmoke()</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   7:</span>     {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   8:</span>         <span style="color: rgb(0, 0, 255);">throw</span> <span style="color: rgb(0, 0, 255);">new</span> NotImplementedException(<span style="color: rgb(0, 96, 128);">"I can't smoke because I'm a young pioneer."</span>);</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   9:</span>     }</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  10:</span> }</pre>
  </div>
</div>

<p><font size="2">另外，接口也是可以继承接口的，并且可以多重继承。我们假设有一个向阳小学，这个学校还有自己的校规，校规内容不多，主要是要求学生要严格遵守小学生行为规范和少先队员行为规范，并且都要会唱校歌。</font></p>

<div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">
  <div style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">
    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   1:</span> <span style="color: rgb(0, 0, 255);">interface</span> IXiangYangSchoolRule : IPupilRule, IYoungPioneerRule</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   2:</span> {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   3:</span>     <span style="color: rgb(0, 0, 255);">void</span> SingSchoolSong();</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   4:</span> }</pre>
  </div>
</div>

<p><font size="2">因此这套校规编写起来倒不麻烦，继承了两套现成的行为规范并且增加一点儿自己的要求就行了。向阳小学的每一位学生都得遵守这套校规：</font></p>

<div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">
  <div style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);">
    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   1:</span> <span style="color: rgb(0, 0, 255);">public</span> <span style="color: rgb(0, 0, 255);">class</span> XiangYangPupil : IXiangYangSchoolRule</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   2:</span> {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   3:</span>     <span style="color: rgb(0, 0, 255);">public</span> <span style="color: rgb(0, 0, 255);">void</span> SingSchoolSong()</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   4:</span>     {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   5:</span>         Console.WriteLine(<span style="color: rgb(0, 96, 128);">"I love Xiang Yang School!"</span>);</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   6:</span>     }</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   7:</span>&nbsp; </pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   8:</span>     <span style="color: rgb(0, 0, 255);">public</span> <span style="color: rgb(0, 0, 255);">void</span> CrossTheRoad(<span style="color: rgb(0, 0, 255);">int</span> trafficLightIndex)</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">   9:</span>     {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  10:</span>         <span style="color: rgb(0, 0, 255);">throw</span> <span style="color: rgb(0, 0, 255);">new</span> NotImplementedException();</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  11:</span>     }</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  12:</span>&nbsp; </pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  13:</span>     <span style="color: rgb(0, 0, 255);">public</span> <span style="color: rgb(0, 0, 255);">void</span> NoSmoke()</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  14:</span>     {</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  15:</span>         <span style="color: rgb(0, 0, 255);">throw</span> <span style="color: rgb(0, 0, 255);">new</span> NotImplementedException();</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  16:</span>     }</pre>

    <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"><span style="color: rgb(96, 96, 96);">  17:</span> }</pre>
  </div>
</div>

<p><font size="2">通过上面的介绍，您大概已经对如何使用接口有了一些初步的认识，当面对实际问题的时候，只要合理地分析和设计，接口一定会为我们的开发工作带来很大的便利！</font></p>

<p><img title="Pupil" style="border-width: 0px;" alt="Pupil" src="pupil_3.jpg" border="0" height="460" width="570"></p>
<div id="digg_block">
<div id="div_digg">										
	<div class="diggit" onclick="DiggIt(1222818,28598,1)"> 
		<span class="diggnum" id="digg_count_1222818">1</span>
	</div>
	<div class="buryit" onclick="DiggIt(1222818,28598,2)"> 
		<span class="burynum" id="bury_count_1222818">0</span>
	</div>
	<div class="clear"></div>
	<span style="display: none;" id="span_isdigged_1222818">0</span>	
	<div class="diggword" id="digg_word_1222818">(请您对文章做出评价)</div>	
</div>
</div>
<div class="clear"></div>
<div id="post_next_prev">
<a href="http://www.cnblogs.com/Autumoon/archive/2008/06/15/1222538.html">« </a> 上一篇：<a href="http://www.cnblogs.com/Autumoon/archive/2008/06/15/1222538.html" title="发布于2008-06-15 13:25">特性</a><br>
<a href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1223257.html">» </a> 下一篇：<a href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1223257.html" title="发布于2008-06-16 18:08">泛型</a><br>
</div>








		</div>
		<div class="postDesc">posted @ 2008-06-16 08:53 <a href="http://www.cnblogs.com/Autumoon/">Autumoon</a> 阅读(2402) <a href="#commentform">评论(11)</a> &nbsp;<a href="http://www.cnblogs.com/Autumoon/admin/EditPosts.aspx?postid=1222818">编辑</a> <a href="http://www.cnblogs.com/Autumoon/AddToFavorite.aspx?id=1222818">收藏</a> <a href="#" onclick="PutInWz();return false;">网摘</a>  所属分类: <a href="http://www.cnblogs.com/Autumoon/category/131874.html">白话C#系列</a></div>
	</div>
	<img src="1222818.html" height="1" width="1">
	
<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description
rdf:about="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html"
dc:identifier="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html"
dc:title=""
trackback:ping="http://www.cnblogs.com/Autumoon/services/trackbacks/1222818.aspx" />
</rdf:RDF>
-->

</div><!--end: topics 文章、评论容器-->
<a name="pagedcomment"></a>
<!--done-->
<br>
<div class="feedback_area_title">发表评论</div>
<div class="feedbackNoItems"><span id="span_comment_maxid" style="display: none;">1650863</span></div>
	

		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<a onclick='ReplyComment("ylsn1982",1227052,"")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(1227052,"")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">引用</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<a href="#1227052">#1楼</a><a name="1227052" id="comment_anchor_1227052"></a> 222.66.165.* 2008-06-16 12:55 | <a id="Comments1_CommentList_ctl00_NameLink" target="_blank">ylsn1982[未注册用户]</a>
			</div>
			<div class="feedbackCon">
				<span id="comment_body_1227052" class="blog_comment_body">看了 简单易懂</span><br>
			</div>
		</div>
	
		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<a onclick='ReplyComment("朝晖的.net",1230260,"Q7ygRFaksQ8T1zvzmIu/sizzHSBD3sCMkv3NP4BdoDW0LDJbvL3R+A==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(1230260,"Q7ygRFaksQ8T1zvzmIu/sizzHSBD3sCMkv3NP4BdoDW0LDJbvL3R+A==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">引用</a>&nbsp;&nbsp;<a title="查看该作者发表过的评论" href="http://www.cnblogs.com/CommentsByAuthor.aspx?author=%e6%9c%9d%e6%99%96%e7%9a%84.net" target="_top">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<a href="#1230260">#2楼</a><a name="1230260" id="comment_anchor_1230260"></a>2008-06-19 13:13 | <a id="Comments1_CommentList_ctl01_NameLink" href="http://www.cnblogs.com/raylovelc/" target="_top">朝晖的.net</a>&nbsp;<a href="http://space.cnblogs.com/msg/send/%e6%9c%9d%e6%99%96%e7%9a%84.net" title="给此人发送站内短消息" class="sendMsg2This">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
			</div>
			<div class="feedbackCon">
				<span id="comment_body_1230260" class="blog_comment_body"> head first...... :^)</span><br>
			</div>
		</div>
	
		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<a onclick='ReplyComment("小兽",1232976,"ZAstB4Ldz/M+g1+Iw1kSIz+PDBNF3Xm6oOwPaTLr0M4sovU+TgjMGQ==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(1232976,"ZAstB4Ldz/M+g1+Iw1kSIz+PDBNF3Xm6oOwPaTLr0M4sovU+TgjMGQ==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">引用</a>&nbsp;&nbsp;<a title="查看该作者发表过的评论" href="http://www.cnblogs.com/CommentsByAuthor.aspx?author=%e5%b0%8f%e5%85%bd" target="_top">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<a href="#1232976">#3楼</a><a name="1232976" id="comment_anchor_1232976"></a>2008-06-23 08:34 | <a id="Comments1_CommentList_ctl02_NameLink" href="http://www.cnblogs.com/huanglianbk/" target="_top">小兽</a>&nbsp;<a href="http://space.cnblogs.com/msg/send/%e5%b0%8f%e5%85%bd" title="给此人发送站内短消息" class="sendMsg2This">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
			</div>
			<div class="feedbackCon">
				<span id="comment_body_1232976" class="blog_comment_body">楼主太有才了！ 看了以后不懂接口都是借口了。</span><br>
			</div>
		</div>
	
		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<a onclick='ReplyComment("礼拜一",1292437,"k/q536nguwD7czKvtAO9o5rxatNJlkovqO31sHJ0m55DpzMDslOAJg==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(1292437,"k/q536nguwD7czKvtAO9o5rxatNJlkovqO31sHJ0m55DpzMDslOAJg==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">引用</a>&nbsp;&nbsp;<a title="查看该作者发表过的评论" href="http://www.cnblogs.com/CommentsByAuthor.aspx?author=%e7%a4%bc%e6%8b%9c%e4%b8%80" target="_top">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<a href="#1292437">#4楼</a><a name="1292437" id="comment_anchor_1292437"></a>2008-08-20 14:59 | <a id="Comments1_CommentList_ctl03_NameLink" href="http://www.cnblogs.com/zyh-nhy/" target="_top">礼拜一</a>&nbsp;<a href="http://space.cnblogs.com/msg/send/%e7%a4%bc%e6%8b%9c%e4%b8%80" title="给此人发送站内短消息" class="sendMsg2This">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
			</div>
			<div class="feedbackCon">
				<span id="comment_body_1292437" class="blog_comment_body">哥们儿，你小名叫有才吧~~</span><br>
			</div>
		</div>
	
		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<a onclick='ReplyComment("Legendix",1340670,"")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(1340670,"")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">引用</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<a href="#1340670">#5楼</a><a name="1340670" id="comment_anchor_1340670"></a> 203.86.30.* 2008-10-14 20:16 | <a id="Comments1_CommentList_ctl04_NameLink" target="_blank">Legendix[未注册用户]</a>
			</div>
			<div class="feedbackCon">
				<span id="comment_body_1340670" class="blog_comment_body">总结的很好,将接口的一些注意规范及其优点总结</span><br>
			</div>
		</div>
	
		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<a onclick='ReplyComment("梦涯",1341686,"1564OuyX7yKjXyU3liiE4rzHf1F9IOPXT3gOQ6AxBfCG0rR8t0yK0Q==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(1341686,"1564OuyX7yKjXyU3liiE4rzHf1F9IOPXT3gOQ6AxBfCG0rR8t0yK0Q==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">引用</a>&nbsp;&nbsp;<a title="查看该作者发表过的评论" href="http://www.cnblogs.com/CommentsByAuthor.aspx?author=%e6%a2%a6%e6%b6%af" target="_top">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<a href="#1341686">#6楼</a><a name="1341686" id="comment_anchor_1341686"></a>2008-10-15 17:52 | <a id="Comments1_CommentList_ctl05_NameLink" href="http://www.cnblogs.com/5197668/" target="_top">梦涯</a>&nbsp;<a href="http://space.cnblogs.com/msg/send/%e6%a2%a6%e6%b6%af" title="给此人发送站内短消息" class="sendMsg2This">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
			</div>
			<div class="feedbackCon">
				<span id="comment_body_1341686" class="blog_comment_body">是个入门的好教材~</span><br>
			</div>
		</div>
	
		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<a onclick='ReplyComment("lang8320",1358489,"")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(1358489,"")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">引用</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<a href="#1358489">#7楼</a><a name="1358489" id="comment_anchor_1358489"></a> 124.206.22.* 2008-11-02 07:52 | <a id="Comments1_CommentList_ctl06_NameLink" target="_blank">lang8320[未注册用户]</a>
			</div>
			<div class="feedbackCon">
				<span id="comment_body_1358489" class="blog_comment_body">经典</span><br>
			</div>
		</div>
	
		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<a onclick='ReplyComment("biyong",1443557,"")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(1443557,"")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">引用</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<a href="#1443557">#8楼</a><a name="1443557" id="comment_anchor_1443557"></a> 117.22.24.* 2009-02-05 14:50 | <a id="Comments1_CommentList_ctl07_NameLink" target="_blank">biyong[未注册用户]</a>
			</div>
			<div class="feedbackCon">
				<span id="comment_body_1443557" class="blog_comment_body">朋友，您讲的太好了。太感谢了。
<br>我看别的教案讲解感觉很困惑，您讲的终于让我搞懂接口了。哈哈！！</span><br>
			</div>
		</div>
	
		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<a onclick='ReplyComment(".net 新手",1487027,"")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(1487027,"")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">引用</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<a href="#1487027">#9楼</a><a name="1487027" id="comment_anchor_1487027"></a> 115.148.184.* 2009-03-25 14:26 | <a id="Comments1_CommentList_ctl08_NameLink" target="_blank">.net 新手[未注册用户]</a>
			</div>
			<div class="feedbackCon">
				<span id="comment_body_1487027" class="blog_comment_body">楼主小名叫有才</span><br>
			</div>
		</div>
	
		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<a onclick='ReplyComment("fjcpu",1582476,"QEb/l6SOP9SVuagIqJs/fKbsWP+TSiN1Jcfdyl/ZnJ/cwrIqcNubYQ==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(1582476,"QEb/l6SOP9SVuagIqJs/fKbsWP+TSiN1Jcfdyl/ZnJ/cwrIqcNubYQ==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">引用</a>&nbsp;&nbsp;<a title="查看该作者发表过的评论" href="http://www.cnblogs.com/CommentsByAuthor.aspx?author=fjcpu" target="_top">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<a href="#1582476">#10楼</a><a name="1582476" id="comment_anchor_1582476"></a>2009-07-12 12:30 | <a id="Comments1_CommentList_ctl09_NameLink" href="http://www.cnblogs.com/fjcpu/" target="_top">fjcpu</a>&nbsp;<a href="http://space.cnblogs.com/msg/send/fjcpu" title="给此人发送站内短消息" class="sendMsg2This">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
			</div>
			<div class="feedbackCon">
				<span id="comment_body_1582476" class="blog_comment_body">太好了，真是好理解，值得我们学习</span><br>
			</div>
		</div>
	
		<div class="feedbackItem">
			<div class="feedbackListSubtitle">
				<div class="feedbackManage">
					&nbsp;&nbsp;<a onclick='ReplyComment("Four Ones",1650863,"xXXEGzWLejOobscSfrNqUBM66Isig7lnd1NCesWi7tSNXRK9bnnMgg==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">回复</a>&nbsp;&nbsp;<a onclick='QuoteComment(1650863,"xXXEGzWLejOobscSfrNqUBM66Isig7lnd1NCesWi7tSNXRK9bnnMgg==")' href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html#commentform">引用</a>&nbsp;&nbsp;<a title="查看该作者发表过的评论" href="http://www.cnblogs.com/CommentsByAuthor.aspx?author=Four+Ones" target="_top">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<a href="#1650863">#11楼</a><a name="1650863" id="comment_anchor_1650863"></a><a name="Post"></a>2009-09-18 11:50 | <a id="Comments1_CommentList_ctl10_NameLink" href="http://www.cnblogs.com/lmraspxml/" target="_top">Four Ones</a>&nbsp;<a href="http://space.cnblogs.com/msg/send/Four+Ones" title="给此人发送站内短消息" class="sendMsg2This">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
			</div>
			<div class="feedbackCon">
				<span id="comment_body_1650863" class="blog_comment_body">浅显易懂，上周去面试就问到接口和抽象类的区别了</span><br>
			</div>
		</div>
	

<div id="comment_form" class="commentform">



<div id="divCommentShow"></div>
<div id="comment_nav" style="text-align: right;"><span id="span_refresh_tips"></span><a href="###" onclick="return RefreshCommentList(1222818);" name="commentform" id="lnk_RefreshComments">刷新评论列表</a>&nbsp; <a href="###" onclick="return RefreshPage();">刷新页面</a>&nbsp; <a href="#top">返回页首</a></div>
<div id="commentform_title">发表评论 <span class="ad_commentbox_up"><a href="http://www.cnblogs.com/" target="_top">博客园首页</a>&nbsp; <a href="http://news.cnblogs.com/" target="_top">IT新闻</a>&nbsp; <a href="http://home.cnblogs.com/ing/" target="_top">闪存</a>&nbsp; <a href="http://job.cnblogs.com/" target="_top">招聘</a>&nbsp; <a href="http://a4.yeshj.com/rd/34143/" target="_top">学英语</a></span></div>
<span id="tip_comment" style="color: Red;"></span>
<p>
昵称：<input name="ctl05$tbCommentAuthor" id="ctl05_tbCommentAuthor" class="author" value="解然" disabled="disabled" type="text">
</p>
<p>
主页：<input name="ctl05$tbCommentAuthorUrl" id="ctl05_tbCommentAuthorUrl" class="url" value="http://www.cnblogs.com/xieran/" disabled="disabled" type="text">
</p>
<p>
</p><div class="commentbox_title">
<div class="commentbox_title_left">评论内容：</div>
<div class="commentbox_title_right">
<img id="ubb_quote" class="comment_icon" src="quote.gif" alt="引用" title="添加引用" onclick="insertUBB('tbCommentBody','quote')">
<img id="ubb_bold" class="comment_icon" src="b.png" alt="粗体" title="添加粗体" onclick="insertUBB('tbCommentBody','b')">
<img id="ubb_url" class="comment_icon" src="lk.png" alt="链接" title="添加链接" onclick="insertUbbUrl('tbCommentBody')">
<img id="ubb_indent" class="comment_icon" src="indent.png" alt="缩进" title="添加首行缩进" onclick="insertIndent('tbCommentBody')">
<img id="ubb_img" class="comment_icon" src="img.gif" alt="图片" title="添加图片" onclick="insertUbbImg('tbCommentBody')">
<img id="ubb_code" class="comment_icon" style="" src="insertcode.gif" alt="代码" title="添加代码" onclick="insertUbbCode()">
</div>
</div>
<div class="clear"></div>
<textarea id="tbCommentBody" class="comment_textarea" onkeydown="return clt_enter(event)"></textarea>

<p>
<input id="btn_comment_submit" class="comment_btn" value="提交" onclick="PostComment();return false;" type="button">
&nbsp;&nbsp;<span id="span_comment_canceledit" style="display: none;"><a href="###" onclick="return CancelCommentEdit()">不改了</a>&nbsp;&nbsp;</span><a href="http://passport.cnblogs.com/logout.aspx?ReturnUrl=http%3a%2f%2fwww.cnblogs.com%2fAutumoon%2farchive%2f2008%2f06%2f16%2f1222818.html%3flogout%3d1%23commentform" onclick="return confirm('确认注销吗？')">注销</a>&nbsp;&nbsp;<a id="ctl05_lnkSubscribe" title="邮件订阅回复通知" onclick="return SubscribeComment();" href="http://www.cnblogs.com/UI/Controls/#%23%23">订阅回复</a>
</p>
<p>
[使用Ctrl+Enter键快速提交]
</p>
<div style="display: none;">
<span id="comment_edit_id"></span><span id="span_parentcomment_id">0</span>
<span id="span_parent_id">1222818</span>
<span id="span_comment_replyto"></span>
<span id="span_comment_title">接口</span>
<span id="span_comment_posted"></span>
</div>

<div class="itnews c_ad_block" id="itnews">
<a href="http://news.cnblogs.com/" target="_top">IT新闻</a>:<br>

          ·  <a href="http://news.cnblogs.com/n/55140/" target="_top">《星际争霸2》"刀锋女王"重金属主题音乐视频</a><br>
	
          ·  <a href="http://news.cnblogs.com/n/55139/" target="_top">中国站长最郁闷的几件事情</a><br>
	
          ·  <a href="http://news.cnblogs.com/n/55138/" target="_top">苹果Vs谷歌：手机领域谁怕谁？</a><br>
	
          ·  <a href="http://news.cnblogs.com/n/55137/" target="_top">摩托罗拉：豪赌Android的希望与隐忧</a><br>
	
          ·  <a href="http://news.cnblogs.com/n/55136/" target="_top">分众新坐标：楼宇是过去 未来在手机和互联网</a><br>
	
</div>


<div id="ad_under_comment" class="c_ad_block">
<a href="http://a4.yeshj.com/rd/34138/" target="_top">每天10分钟，轻松学英语</a><br><br>
<div id="google_ads_div_cnblogs_blogpost_bottom1">
<iframe src="index_1.html" style="border: 0pt none ;" marginheight="0" marginwidth="0" name="google_ads_iframe_cnblogs_blogpost_bottom1" id="google_ads_iframe_cnblogs_blogpost_bottom1" scrolling="no" frameborder="0" height="60" width="468"></iframe></div>

<br>
<div id="google_ads_div_cnblogs_blogpost_bottom">
<iframe src="index_2.html" style="border: 0pt none ;" marginheight="0" marginwidth="0" name="google_ads_iframe_cnblogs_blogpost_bottom" id="google_ads_iframe_cnblogs_blogpost_bottom" scrolling="no" frameborder="0" height="250" width="300"></iframe></div>

</div>
<div id="site_nav_under" class="c_ad_block">
网站导航：<br>
<a href="http://www.cnblogs.com/" target="_top">博客园首页</a> &nbsp;<a href="http://news.cnblogs.com/" target="_top">IT新闻</a> &nbsp;<a href="http://home.cnblogs.com/" target="_top">个人主页</a> &nbsp;<a href="http://home.cnblogs.com/ing/" target="_top">闪存</a> &nbsp;<a href="http://job.cnblogs.com/" target="_top">程序员招聘</a> &nbsp;<a href="http://space.cnblogs.com/" target="_top">社区</a> &nbsp;<a href="http://space.cnblogs.com/q/" target="_top">博问</a> &nbsp;<a href="http://wz.cnblogs.com/" target="_top">网摘</a>
</div>
<div id="ad_under_comment2" class="c_ad_block">
<a href="http://www.china-pub.com/STATIC07/0912/zh_ndcx_091212.asp" target="_top"><img src="chinapub_20091222.jpg" alt="" style="border: 0px none ;"></a><br>
<a href="http://www.china-pub.com/itbook/" target="_top">China-pub 计算机图书网上专卖店！6.5万品种2-8折！</a><br>
<a href="http://www.china-pub.com/static07/0901/zh_jueba_090121.asp" target="_top">China-Pub 计算机绝版图书按需印刷服务</a><br>
</div>


<div id="div_commentbox_nav" class="c_ad_block">
链接：<a href="http://www.cnblogs.com/Autumoon/archive/2008/06/16/1222818.html?switchskin=1#skinlist">切换模板</a><br>
</div>
<div id="relative_search"><br><b>相关搜索:</b><br> <a href="http://zzk.cnblogs.com/s?w=%e7%99%bd%e8%af%9dC%23%e7%b3%bb%e5%88%97" target="_top">白话C#系列</a> </div><div id="relative_search"><br><b>在知识库中查看：</b><br> <a href="http://kb.cnblogs.com/a/1222818/">接口</a></div>

</div>




				
	</div><!--end: forFlow -->
	</div><!--end: mainContent 主体内容容器-->

	<div id="sideBar">
		<div id="sideBarMain">
			
<!--done-->
<div class="newsItem">
<h3 class="catListTitle">公告</h3>
	<p align="center"><embed src="world001-blue.swf" type="application/x-shockwave-flash" wmode="transparent" height="92" width="175"><br>
<br>
Since&nbsp;May 31, 1998.<br><!--<a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#88;&#105;&#110;&#119;&#101;&#110;&#67;&#104;&#101;&#110;&#103;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;"><img height=21 alt="" src="http://images.cnblogs.com/cnblogs_com/zerocool/MyGmailLink.png" width=175 border=0 /></a><br/><br/>--><img src="r_mvp.png" alt="MVP (Visual C#)"><br><br></p><div style=""><table style="" cellpadding="4" cellspacing="0"><tbody><tr align="center"><td style=""><a href="http://www.douban.com/subject/1136852/" title="南怀瑾选集（第三卷）" target="_top"><img src="s2177899.jpg" border="0"></a></td><td style=""><a href="http://www.douban.com/subject/3696561/" title="世界又热又平又挤" target="_top"><img src="s3763074.jpg" border="0"></a></td></tr><tr align="center"><td style=""><a href="http://www.douban.com/subject/3883231/" title="Pro Silverlight 3 in C#" target="_top"><img src="s3900991.jpg" border="0"></a></td><td style=""><a href="http://www.douban.com/subject/1085660/" title="尽管去做

Getting Things Done The Art of Stress-free Productivity" target="_top"><img src="s1796471.jpg" border="0"></a></td></tr><tr align="center"><td style=""><a href="http://www.douban.com/subject/1477390/" title="代码大全（第2版）" target="_top"><img src="s1495029.jpg" border="0"></a></td></tr><tr><td colspan="2" align="center"><a href="http://www.douban.com/people/XinwenCheng/" target="_top">我的豆瓣主页</a></td></tr></tbody></table></div><br><div id="profile_block"><a href="http://home.cnblogs.com/Autumoon/" target="_top">我的主页</a>&nbsp; <a href="http://home.cnblogs.com/Autumoon/detail/" target="_top">个人资料</a><br><a href="http://home.cnblogs.com/Autumoon/ing/" target="_top">我的闪存</a>&nbsp; <a href="http://space.cnblogs.com/msg/send/Autumoon" target="_top">发短消息</a></div>
</div>

			<div id="calendar"></div>
			
			<div id="leftcontentcontainer">
				
<div class="catListPostCategory">
<h3 class="catListTitle">随笔分类<span style="font-size: 11px; font-weight: normal;">(69)</span></h3>

<ul>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl01_Link" href="http://www.cnblogs.com/Autumoon/category/151002.html">.NET程序员技术面试迷你手册（C#版）(5)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl01_RssLink" title="Subscribe to .NET程序员技术面试迷你手册（C#版）(5)" href="http://www.cnblogs.com/Autumoon/category/151002.html/rss">(rss)</a></li>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl02_Link" href="http://www.cnblogs.com/Autumoon/category/102693.html">Autumoon Code Library(1)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl02_RssLink" title="Subscribe to Autumoon Code Library(1)" href="http://www.cnblogs.com/Autumoon/category/102693.html/rss">(rss)</a></li>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl03_Link" href="http://www.cnblogs.com/Autumoon/category/112473.html">C# 3.0 探索之旅(9)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl03_RssLink" title="Subscribe to C# 3.0 探索之旅(9)" href="http://www.cnblogs.com/Autumoon/category/112473.html/rss">(rss)</a></li>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl04_Link" href="http://www.cnblogs.com/Autumoon/category/113499.html">LINQ 探索之旅(5)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl04_RssLink" title="Subscribe to LINQ 探索之旅(5)" href="http://www.cnblogs.com/Autumoon/category/113499.html/rss">(rss)</a></li>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl05_Link" href="http://www.cnblogs.com/Autumoon/category/158314.html">Office Live for Small Business(4)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl05_RssLink" title="Subscribe to Office Live for Small Business(4)" href="http://www.cnblogs.com/Autumoon/category/158314.html/rss">(rss)</a></li>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl06_Link" href="http://www.cnblogs.com/Autumoon/category/131874.html">白话C#系列(8)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl06_RssLink" title="Subscribe to 白话C#系列(8)" href="http://www.cnblogs.com/Autumoon/category/131874.html/rss">(rss)</a></li>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl07_Link" href="http://www.cnblogs.com/Autumoon/category/221050.html">读书笔记(1)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl07_RssLink" title="Subscribe to 读书笔记(1)" href="http://www.cnblogs.com/Autumoon/category/221050.html/rss">(rss)</a></li>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl08_Link" href="http://www.cnblogs.com/Autumoon/category/141025.html">多普达 Touch Diamond 创新前沿体验(4)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl08_RssLink" title="Subscribe to 多普达 Touch Diamond 创新前沿体验(4)" href="http://www.cnblogs.com/Autumoon/category/141025.html/rss">(rss)</a></li>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl09_Link" href="http://www.cnblogs.com/Autumoon/category/102692.html">公告(2)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl09_RssLink" title="Subscribe to 公告(2)" href="http://www.cnblogs.com/Autumoon/category/102692.html/rss">(rss)</a></li>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl10_Link" href="http://www.cnblogs.com/Autumoon/category/102688.html">技术杂文(3)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl10_RssLink" title="Subscribe to 技术杂文(3)" href="http://www.cnblogs.com/Autumoon/category/102688.html/rss">(rss)</a></li>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl11_Link" href="http://www.cnblogs.com/Autumoon/category/114802.html">简明设计模式——C#版(25)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl11_RssLink" title="Subscribe to 简明设计模式——C#版(25)" href="http://www.cnblogs.com/Autumoon/category/114802.html/rss">(rss)</a></li>

<li><a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl12_Link" href="http://www.cnblogs.com/Autumoon/category/228064.html">时间管理(2)</a> <a id="SingleColumn1_Categories_CatList_ctl00_LinkList_ctl12_RssLink" title="Subscribe to 时间管理(2)" href="http://www.cnblogs.com/Autumoon/category/228064.html/rss">(rss)</a></li>

</ul>

</div>

<div class="catList">
<h3 class="catListTitle">友情链接</h3>

<ul>

<li><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl01_Link" href="http://www.codeplex.com/site/users/view/Autumoon" target="_top">Autumoon @ CodePlex</a> </li>

<li><a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl02_Link" href="http://zerocool.cnblogs.com/" target="_top">作者博客</a> <a id="SingleColumn1_Categories_CatList_ctl01_LinkList_ctl02_RssLink" title="Subscribe to 作者博客" href="http://www.cnblogs.com/ZeroCool/rss">(rss)</a></li>
<li style="margin-top: 2px;">/* ZeroCool的个人博客 */</li>
</ul>

</div>



<div class="catListComment">
<h3 class="catListTitle">最新评论<a id="SingleColumn1__3514896_RSSHyperlink1" title="RSS订阅最最新评论" href="http://www.cnblogs.com/Autumoon/CommentsRSS.aspx"><img title="RSS订阅最最新评论" src="xml.gif" style="border-width: 0px;"></a></h3>

	
			<div class="divRecentCommentAticle">
				<a id="SingleColumn1__3514896_CommentList_ctl00_Hyperlink2" class="listitem" href="http://www.cnblogs.com/Autumoon/archive/2008/08/18/1270558.html#1748817">1.&nbsp;Re:序</a>
			</div>
			<div class="divRecentComment">
				基础的东西很重要，往往出的Bug都是这些导致的，其实软件开发最重要的思想，单基础概念同样不可忽视。 (寒枫)
			</div>		
		
			<div class="divRecentCommentAticle">
				<a id="SingleColumn1__3514896_CommentList_ctl01_Hyperlink2" class="listitem" href="http://www.cnblogs.com/Autumoon/archive/2010/01/17/1649909.html#1748760">2.&nbsp;Re:把时间管理培养成习惯</a>
			</div>
			<div class="divRecentComment">
				nice article (王德水)
			</div>		
		
			<div class="divRecentCommentAticle">
				<a id="SingleColumn1__3514896_CommentList_ctl02_Hyperlink2" class="listitem" href="http://www.cnblogs.com/Autumoon/archive/2010/01/17/1649909.html#1748755">3.&nbsp;Re:把时间管理培养成习惯</a>
			</div>
			<div class="divRecentComment">
				地板，呵！道理浅显易懂，但很少人会这样进行时间管理，往往是做事前稍微考虑一下。养成好的习惯的确很重要。 (GoodGF)
			</div>		
		
			<div class="divRecentCommentAticle">
				<a id="SingleColumn1__3514896_CommentList_ctl03_Hyperlink2" class="listitem" href="http://www.cnblogs.com/Autumoon/archive/2010/01/17/1649909.html#1748728">4.&nbsp;Re:把时间管理培养成习惯</a>
			</div>
			<div class="divRecentComment">
				好文章 (长河落日)
			</div>		
		
			<div class="divRecentCommentAticle">
				<a id="SingleColumn1__3514896_CommentList_ctl04_Hyperlink2" class="listitem" href="http://www.cnblogs.com/Autumoon/archive/2010/01/09/1642846.html#1743368">5.&nbsp;Re:时间管理——被忽视的重要理念！</a>
			</div>
			<div class="divRecentComment">
				管理时间最有效的方法，就是建立良好的生活规律！

当我们手中握有大把的时间时，效率却不一定高；反之，在挤出的时间里，恰恰相反！
 (卡通一下)
			</div>		
		
</div>

<div class="catListView">
<h3 class="catListTitle">阅读排行榜</h3>
	
			<ul>
		
			<li>
				<a id="SingleColumn1_ctl02_TopList_ctl01_Hyperlink1" href="http://www.cnblogs.com/Autumoon/archive/2008/06/19/1225684.html">1.&nbsp;多线程(5901)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl02_TopList_ctl02_Hyperlink1" href="http://www.cnblogs.com/Autumoon/archive/2008/08/19/1271589.html">2.&nbsp;面向对象主要概念(3462)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl02_TopList_ctl03_Hyperlink1" href="http://www.cnblogs.com/Autumoon/archive/2008/06/23/1228335.html">3.&nbsp;反射(3172)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl02_TopList_ctl04_Hyperlink1" href="http://www.cnblogs.com/Autumoon/archive/2008/08/18/1270685.html">4.&nbsp;值类型和引用类型的区别(3056)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl02_TopList_ctl05_Hyperlink1" href="http://www.cnblogs.com/Autumoon/archive/2008/07/01/1233476.html">5.&nbsp;Touch Diamond Remote —— 世界就在指尖(2898)</a>
			</li>
		
			</ul>
		
</div>

<div class="catListFeedback">
<h3 class="catListTitle">评论排行榜</h3>
	
			<ul>
		
			<li>
				<a id="SingleColumn1_ctl03_TopList_ctl01_Hyperlink1" href="http://www.cnblogs.com/Autumoon/archive/2008/07/01/1233476.html">1.&nbsp;Touch Diamond Remote —— 世界就在指尖(38)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl03_TopList_ctl02_Hyperlink1" href="http://www.cnblogs.com/Autumoon/archive/2008/06/19/1225684.html">2.&nbsp;多线程(35)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl03_TopList_ctl03_Hyperlink1" href="http://www.cnblogs.com/Autumoon/archive/2008/08/19/1271589.html">3.&nbsp;面向对象主要概念(26)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl03_TopList_ctl04_Hyperlink1" href="http://www.cnblogs.com/Autumoon/archive/2008/08/26/1276746.html">4.&nbsp;寻找失落的SubString(23)</a>
			</li>
		
			<li>
				<a id="SingleColumn1_ctl03_TopList_ctl05_Hyperlink1" href="http://www.cnblogs.com/Autumoon/archive/2008/08/18/1270685.html">5.&nbsp;值类型和引用类型的区别(20)</a>
			</li>
		
			</ul>
		
</div>

				
<div id="blog_ad_google">
<h3>Google广告</h3>
<ul>
<li>

<ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 250px; position: relative; visibility: visible; width: 300px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 250px; position: relative; visibility: visible; width: 300px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame3" marginheight="0" marginwidth="0" name="google_ads_frame" src="index_3.html" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" scrolling="no" frameborder="0" height="250" width="300"></iframe></ins></ins>
</li>
</ul>
</div>
			</div>
			
		</div><!--end: sideBarMain -->
	</div><!--end: sideBar 侧边栏容器 -->
	<div class="clear"></div>
	</div><!--end: main -->
	<div class="clear"></div>
	<div id="footer">
		
<!--done-->
Copyright ©2010 Autumoon
	</div><!--end: footer -->
</div><!--end: home 自定义的最大容器 -->
    </form>
	
	
      
    
    
    
</body>
</html>
